home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-11-08 | 58.1 KB | 679 lines | [TEXT/R*ch] |
- VideoToolbox:Advice
- November 8, 1995
-
- Advice to beginners,
-
- If you want to do vision experiments on your Macintosh computer, and haven’t
- programmed a Mac before, there are various things you should get for yourself.
- I’ve listed what I consider essential. The stuff I use. There are lots of baby
- books that hold your hand while you learn, but the ones that I’ve looked at
- weren’t helpful for setting up vision experiments. They’re oriented towards
- producing Mac-like applications with the right look and feel, which is
- unimportant when the experimenter is the only person that will ever run the
- program. Be warned that the bible, Inside Macintosh, is intimidating at first.
- The classic comment about Inside Mac is that you have to have read the rest to
- understand any part. Fortunately, the second edition is much more readily
- assimilable. Mac programming is tough going at first, but I’ve come to like it,
- as the Apple routines are generally intelligent solutions to complicated
- problems. Anyway, by looking at the sources for the various demos in the
- VideoToolbox you should be able to get going much more quickly than I did. Good
- luck. -Denis Pelli, denis@psych.nyu.edu
-
- The entire VideoToolbox (with a few inconsequential exceptions) now runs native
- on the PowerPC. We're very happy with the PowerMacs and the Metrowerks
- CodeWarrior Gold C compiler ($99 academic). The compiler and your code both run
- native and fast!
-
- •I recommend the PowerMac 7500 (best specs) or 7200 (best buy) over other models
- to anyone that wants to buy a mac to show movies (i.e. copy images to the screen
- in real time)--see the "Video synch" document.
-
- NOTE: the archive addresses that appear throughout this document, e.g.
- "ftp://...", are in a standard format called "URL" (Uniform Resource Locator)
- that most internet-aware programs now prefer. To retrieve files from a URL, I
- recommend Anarchie, which you can download from here:
- ftp://mirror.apple.com/mirrors/info-mac/comm/tcp/anarchie-16.hqx
- (If you're using BBEdit to read this, and you're connected to the i ntly will never fix it.
- ON THE OTHER HAND: Lew Harvey, lharvey@clipr.colorado.edu, writes "Dear Denis,
- I was just reading your advice file in the latest VideoToolbox and think
- that you are being too harsh on Symantec. I think their C compiler is great. It
- is my understanding that Symantec is not abandoning C in favor of C++ and is
- making continual improvements in both. I think it is true that they are putting a
- lot of effort into C++, but since the ANSI standard libraries are written in C,
- they still depend on a good C compiler. I have found them quite responsive to my
- reporting of bugs in both the C and C++ 68k compilers. In any case I am very
- happy with the development environment. From the comments I've read in various
- newsgroups, I conclude that the Symantec C++ development environment is superior
- to CW in several ways, including the handling of exceptions, Visual Architect and
- the TCL class library. (I don't own stock in Symantec!)." [Note that Denis used
- THINK C until 1994, while Lew is using Symantec C++, which appeared about then,
- so the two views are compatible.]
- Lew adds, "There is a confusion about names for the compilers and the
- project managers. Symantec is using the following naming scheme to distinguish
- the various compilers and the processors they produce code for. To produce
- PowerPC code: Symantec Project Manager 8.0.1, PowerPC C (C compiler) 8.0.1,
- PowerPC C++ (C++ compiler) 8.0.1. To produce 68k Code: Think Project Manager
- 7.0.4, Think C (C compiler) 8.0, Symantec C++ (C++ compiler) 8.0"
- 10/95: Lew qualifies, "I reread what I had written in 'Advice' and it seems
- too strong. I still like using Symantec C/C++ largely because I have written
- several programs using the Think Class Library and I don't want to make the
- effort to learn another framework (i.e., PowerPlant). The Symantec Project
- Manager (SPM), version 8.0.3, that produces code for the PowerPC is a pleasure to
- use. The editor is very similar to that in CodeWarrior. The SPM browser makes
- checking class relationships and functions easy, etc. But I am still using the
- Think Project Manager (TPM), version 7.0.5, to produce code for the 68k Macs and
- I must say that I am getting impatient to have the features of SPM v8 and
- CodeWarrior. Symantec is supposed to be working on a single project manager that
- will be used for both 68k and PPC development (like Metroworks already has) for
- their next major release. I can hardly wait.
- THINK C 6 $299
- Symantec C++ 7 for Macintosh $299??
- Symantec C++ 8 for Power Macintosh $299
- Upgrade to C++ 8 $149.95 for registered users of Symantec C++ 7,THINK C,or Pascal.
- Symantec Corporation
- 10201 Torre Ave
- Cupertino, CA 95014
- (800) 800-1438 fax
- (800) 441-7234
- You can get Symantec's THINK C updates from:
- http://www.symantec.com/
- ftp://mirror.apple.com/mirrors/info-mac/dev/sym/
- ftp://devtools.symantec.com/DTS Server Drive /ftp/Macintosh/Updates/DevTools/
- "The 7.0.4 update contains patches to the THINK Project Manager and THINK
- Debugger for System 7.5 compatibility, but is otherwise identical to the 7.0.3
- update released on June 22." EDS (Essential Development tool Set) includes "the
- THINK Project Manager, THINK Debugger, and the compilers." The THINK C upgrade
- from 7.04 to 8.0 changes only the version number. Support questions can be sent
- to Symantec at:
- support@devtools.symantec.com
- bugs@devtools.symantec.com
-
- MPW Pro (Macintosh Programmer's Workbench, Professional Edition) $295 ($75 to
- upgrade from MPW) from APDA (address above). This is a new package from Apple,
- providing a complete development environment (C, Pascal, and Assembler; 68k and
- PowerPC) on one CD-ROM. (Includes Mac Programmer's Toolbox Assistant.) Apparently
- it's the same CD-ROM that you would get by subscribing to ETO (minus Symantec
- C++), without the printed manuals. Most people find MPW slow and clumsy, and
- prefer CodeWarrior. (The only thing I use MPW for is CompareFiles.) However,
- Apple includes pre-release tools on their ETO disks that might be handy.
-
- Essential Tools and Objects CD-ROM (also called “ETO”) $795 for first year,
- $250/year thereafter ($200 credit for owners of MPW Pro) from APDA. I don’t
- subscribe to this--it seems too expensive--but you may want to. It’s updated 3
- times a year and has the latest versions of Apple’s development tools, MPW, C,
- etc. It includes MPW Pro, Symantec C++, Inside Mac CD-ROM, Mac Programmer's
- Toolbox Assistant, and 21 printed manuals. Doesn't include the Developer
- Mailings. (The important difference between MPW Pro and ETO is that ETO is a
- subscription so they keep sending you the latest disk, 3 times a year, whereas
- you buy MPW Pro once, no updates.)
-
- SUBSCRIPTIONS:
-
- CVNet is the Color and Vision Network. To join just send an email message to the
- moderator, explaining your interest in vision. If you're accepted, your email
- address will be added to the email distribution list. CVNet sends out about a
- message a day about events of interest to people doing vision research: mostly
- jobs, conferences, and solicitations of advice. Free.
- cvnet@skivs.ski.org
-
- TidBITS. A free weekly email newsletter about Macintosh software and hardware
- published by Adam and Tonya Engst.
- info@tidbits.com
-
- MacWEEK. Try to get a free subscription.
- Customer Service Department
- P.O. Box 5821
- Cherry Hill, NJ 08034
- (609)-428-5000
-
- MacTech Magazine. The only paper Mac magazine for programmers.
- PO Box 250055
- Los Angeles, CA 90025-9555
- 310-575-4343
- 310-575-0925 fax
- custservice@xplain.com
-
- develop: The Apple Technical Journal. $27 in US, $47 outside US. From APDA
- (address above). The develop magazine has four issues per year.
- It has lots of examples and helpful in-depth explanations. I've learned a lot
- from the magazine. The accompanying CD includes useful documentation: Tech Notes.
-
- Apple Developer Mailing Subscription. Each month you receive a CD-ROM. $149/year
- from APDA. These CDs are a very useful reference, including documentation and
- sample code, for anyone developing Mac software. Includes Macintosh Programmer's
- Toolbox Assistant.
-
- Mac OS Software Developer's Kit ($149/year, 3 issues per year). Each issue is a
- CD-ROM containing a fairly complete collection of Apple's software to interface
- to components of the operating system, e.g. the Display Manager. I think most of
- this stuff is included in the Developer Mailings CD-ROM, so it probably wouldn't
- be worth subscribing to both.
-
- Macintosh Associates Plus Program. $500/year. Apple engineers will answer up to
- ten questions per year. Includes developer mailings. Call (408)-974-4897.
-
- Macintosh Partners Program. $1,500/year. Only for people producing commercial
- products for Mac. Apple engineers answer an unlimited number of questions.
- Includes developer mailings.
-
- ONLINE SERVICES:
-
- Who can answer your Macintosh programming question? You can try posting it on
- UseNet or Compuserve. Somebody knowledgeable might jump in. (Apple engineers
- often participate in UseNet, occasionally in CompuServe.) For $500 you can become
- an Apple Associate Plus (above) and ask 10 questions (over a year) of Apple
- engineers, who will answer your questions by email, provided you've already
- consulted the relevant manuals.
-
- UseNet. The comp.sys.mac.programming.codewarrior UseNet news group has
- knowledgeable active discussion. Experts often jump in with helpful answers to
- thorny questions. You can participate in UseNet from your your Mac using telnet
- (NCSA Telnet and MacIP are both free) to log into a local unix system. Or you
- might use InterNews (available by ftp from the Info-Mac archive) if you can get
- tcp/ip access to a net news server.
-
- CompuServe Information Service. If you can’t join UseNet, then you may want to
- join CompuServe, to follow the discussions and post your seemingly insoluble
- Macintosh problems on the bulletin boards, MacPro, MacDev, or Symantec:THINK C,
- to get free advice from experts. Buy the program Navigator from CompuServe, as it
- makes CompuServe much easier to use. You’ll need a modem. A new wrinkle is that
- CompuServe offers dialup PPP access to the internet, which may be a
- cost-effective way of accessing your mail when you're on the road.
- http://www.compuserve.com/new/news_rel/netl.html
- P.O. Box 20212
- Columbus, OH 43220
- (800)-848-8199
-
- eWorld. Apple’s original bulletin board and email system was AppleLink, which is
- being phased out and replaced by eWorld. AppleLink provides some system software
- updates and technical information. Most companies that make Macintosh products
- have AppleLink accounts, and you can use the online directory to get their email
- addresses. You’ll need a modem. I've tried eWorld, but so far (3/95) I haven't
- found eWorld useful. Apple has just announced that they will provide
- one-day-turnaround free customer support on eWorld, which may make it worth
- subscribing. As of October '95, the word is that eWorld hasn't caught on.
- (408) 974-3309
- ALINK.MGMT@applelink.apple.com
-
- SOFTWARE ARCHIVES ACCESSIBLE THROUGH THE INTERNET:
-
- FTP is a file transfer protocol used to transfer files across the Internet. FTP
- programs typically have very rudimentary user interfaces. Some of the bigger ftp
- servers are now also Gopher servers. Gopher (developed at University of
- Minnesota, originally for a campus-wide information server) is sort of a
- superset of ftp that provides a quite good user interface and allows access to a
- wide variety of Internet resources. Public ftp servers require that you log in as
- “anonymous and will accept any password, but it is considered a courtesy to
- supply your electronic address as the password. If for some reason you can’t use
- ftp or gopher, some of the sites will help you out by allowing you to request
- transmission of files to you by email.
-
- There are two ways to use ftp from your Mac. The traditional, indirect, approach
- is to remotely log into a mainframe (preferably one running unix), use its ftp
- facilities to move the file to it, and then download the file from it. The
- modern, direct, approach requires that your AppleTalk network have a gateway to
- the Internet, so that you can run an ftp program on your Mac (provided you have
- Apple’s MacTCP init, included in System 7.5). I recommend Anarchie, TurboGopher,
- Mosaic, or Netscape for downloading and Fetch 2.12 for uploading. All are free
- from the Info-Mac archive.
-
- The Internet Starter Kit for Macintosh, 3rd ed, by Adam C. Engst. $29.95 USA
- $37.95 Canada. For beginners. Includes lots of public domain software to help you access
- the Internet. Hayden Books.
- orders@hayden.com
-
- The Providers of Commercial Internet Access (POCIA) Directory contains hundreds
- of entries for Internet providers, which include addresses, telephone numbers,
- email addresses, and pricing. It is indexed by area code (for the U.S. and
- Canada) and by country (for the rest of the world). (Courtesy TidBITS)
- http://www.teleport.com/~cci/
- ftp://ftp.teleport.com/vendors/cci/pocia/pocia.txt
-
- ADVICE
- Hans Strasburger's annotated list of available visual psychophysics software
- http://vision.arc.nasa.gov/VisionScience/VisionScience.html
- Eye movements
- gopher://gopher.spc.edu:70/00/Academics/Ugrad/Ps/Faculty/Carmody/EYEMOV-L/Query/q_ober2more.txt
- Displaying stereo images
- http://www.tisco.com/3d-web/index.html
- Digital camera guide (e.g. Apple's QuickTake 150)
- http://rainbow.rmii.com/~jburton/PlugInSystems/DigitalCameraGuide.html
-
- Faith Florer, Florerfl@miavx1.acs.muohio.edu, published on CVNet 7/31/95 this list
- of experimental psychology software packages compatible with the PowerMac.
- (I deleted VideoToolbox and abbreviated the other entries. dgp)
- MacStim - Simple text script. $300
- ddarby@ariel.ucs.unimelb.EDU.AU
- savoy@risvax.rowland.org
- Psychlab - Easy script-based language. $350
- Not developed for the power mac, but if problems appear the programmers will fix it.
- gumt@ere.umontreal.ca
- PsyScope - Graphics and scripting. Recommended by six users. Free
- ftp://ftp@poppy.psy.cmu.edu
- http://poppy.psy.cmu.edu/psyscope
- Cohen JD, MacWhinney B, Flatt M & Provost J (1993). PsyScope: A new graphic
- interactive environment for designing psychology experiments. Behavioral
- Research Methods, Instruments & Computers, 25(2), 257-271.
- RSVP - Manipulation of simple C-level scripts, designed to run with the VideoToolbox. Free
- http://www.cs.yale.edu/HTML/YALE/CS/AI/TarrLab/ta ww.gse.ucla.edu/staff/DEF/PCIpurge.html
- Motorola PowerPC FAQ
- http://www.mot.com/PowerPC/lib/ppc_faq.html
- Macintosh, Frequently Asked Questions (FAQ)
- http://www.macfaq.com/faq/generalfaq.html
- ftp://rtfm.mit.edu/pub/usenet/news.answers/macintosh/programming-faq
- ftp://sumex-aim.stanford.edu/info-mac/dev/info/beginning-mac-programming.txt
- ftp://sumex-aim.stanford.edu/info-mac/dev/info/csm-programmer-faq.txt
- http://king.tidbits.com/adam/FAQ.html
- http://rever.nmsu.edu/~elharo/faq/Macintosh.html
- Macintosh vendor directories
- gopher://ocf.berkeley.edu/hh/gopherspace/Computer/Systems/Macintosh/PowerMac_Products
- http://rever.nmsu.edu/~elharo/faq/vendor.html
- http://thelist.com/
- Mac programming
- http://www.class.com/MacTech/URLs.html
- http://www.mactech.com/
- http://www.freepress.com/myee/ultimate_mac.html
- http://www.cs.brandeis.edu/~xray/mac.html
- ftp://ftp.amug.org/pub/contrib/demos/Development
- http://www.astro.new.edu/lentz/mac/programming/home-prog.html
- Mac information maintained by enthusiasts (source: MacTech magazine)
- http://www.pitt.edu/~nick/
- http://www.iquest.com/~fairgate
- http://acacia.ens.fr:8080/home/pottier/index.html
- comp.sys.mac.programmer digest
- news://comp.sys.mac.digest
- Well Connected Mac
- http://www.macfaq.com/
- Welcome to Macintosh
- http://www.astro.nwu.edu/lentz/mac/home-mac.html
- Mac archive of Adam Engst, author of The Internet Starter Kit and editor of TidBITS,
- ftp://ftp.tidbits.com/pub/tidbits/tisk/
- http://www.tidbits.com/tidbits/index.html
-
- COMPANIES
- AT&T phone directory for "800" numbers:
- http://att.net/dir800
- Hayden books. Buy books online at a 20 percent discount. (Source: TidBITS)
- http://www.mcp.com/
- MIT Press:
- http://www-mitpress.mit.edu
- mitpress-orders@mit.edu
- mitpress-order-inq@mit.edu
- NASA's Computer Software Management and Information Center (COSMIC) "has over 850
- computer programs available internationally that were originally developed by
- NASA and its contractors for the U.S. space program. Software is available for
- a number of areas of interest including: artificial intelligence, computational
- fluid dynamics, finite element structural analysis, scientific visualization,
- thermal and fluid flow analysis, and many more. Programs are priced on a
- cost-recovery basis and usually include source code."
- 706-542-4807 fax
- service@cosmic.uga.edu
- gopher://gopher.cosmic.uga.edu
- http://www.cosmic.uga.edu
- National Instuments (hardware and software for data acq. & control)
- http://natinst.com
- PowerCity Online. Sales for Mac/PC. "Subject: Order Info" (Recommended by TidBITS.)
- 75361.532@compuserve.com
-
- ACADEMIC VISION-RELATED SITES
- Vision research: labs,groups,conferences,newsgroups,databases,source code,etc.
- http://vision.arc.nasa.gov/VisionScience/VisionScience.html
- Psychophysics Software Overview by Hans Strasburger, hans@groucho.imp.med.uni-muenchen.de
- http://vision.arc.nasa.gov/VisionScience/VisionScience.html
- http://www.med.uni-muenchen.de/medpsy/vis/psyphs/psy_soft.html
- Tables of contents of selected recent vision journals
- gopher://eyesite.optometry.ohio-state.edu/
- CVNet, Color and Vision Network. Also see CVNet under "EMAIL" below.
- http://vision.arc.nasa.gov/VisionScience/mail/cvnet/index.html
- LOVNET low vision research
- http://vision.psych.umn.edu/www/lovnet/lovnet.html
- Conferences on Medical Imaging and Computer Vision
- http://www.cv.ruu.nl/Conferences/
- National Eye Institute (US)
- http://www.nei.nih.gov
- National Institutes of Health (US)
- http://www.nih.gov
- American Psychological Society Employment Bulletin
- http://oak.hanover.edu/psych/APS/aps.html
- MIT
- http://www.mit.edu:8001/home-pages.html
- MIT AI memos
- ftp://publications.ai.mit.edu/ai-publications/
-
- SOFTWARE ARCHIVES ON CD-ROM:
-
- Info-Mac CD-ROM $49.95 plus shipping. A recent snapshot of the
- info-mac archive on a CD-ROM containing about 600 MB. (Includes recent
- edition of the VideoToolbox.)
- Pacific HiTech, Inc.
- 4760 Highland Drive, Suite 204
- Salt Lake City, Utah 84124
- 800-765-8369 (orders only)
- 801-278-2042
- 801-278-2666 (fax)
- 71175.3152@compuserve.com
-
- Apprentice CD-ROM $35 (includes shipping in US and Canada) 600